Skip to main content
Version: 1.0.2

Approve Transactions List Page

The Approve Transactions List Page API displays a comprehensive list of transactions that are currently pending for approval. This list includes the total number of transactions awaiting for approval with required transaction details for each transaction.

Method: POST

{{URL}}/jsonrpc

Headers

NameValue
Content-Typeapplication/json

Example

Payload Parameters
ParameterDescription

id

Mandatory

String

Unique ID of request

Example – "1"

method

Mandatory

String

Method Name

Example – "VisaService.GetApproveTransactions "

params

Mandatory

Object

api

Mandatory

Object

credential

Mandatory

String

API credential provided by NetXD

Example – "Basic cy5wYXJhbWVzd2FyYW4rMkBiYW5rY2J3Lm9yZzpUZXN0QDEyMzQ="

signature

Mandatory

String

Signature of the digitally signed payload

Example – "MEQCICSDF4HIunb4xDLVEK9IOJYhT6j4wq5FwfJILSb4xbeSAiBdmpkV7uPB+39O6S+ea/61ar3dBmBNSU9ay229vin7sA=="

payload

Mandatory

Object

pageNo

Optional

String

Required page number

Example – "1"

pageSize

Optional

String

Required Number of entries per page

Example – "10"

endToEndIdentification

Optional

String

ID that helps to trace the transaction

Example – "R1703771274796"

companyId

Optional

String

ID of company onboarded as customer

Example – "6489704aa58b38e2d4407868"

paymentMode

Optional

String

Mode of payment

Example – "API"


curl --location --globoff '{{URL}}/jsonrpc' \
--header 'Content-Type: application/json' \
--data '{"id":"1","method":"VisaService.GetApproveTransactions","params":{"api":{"credential":"Basic cy5wYXJhbWVzd2FyYW4rMkBiYW5rY2J3Lm9yZzpUZXN0QDEyMzQ=","signature":"MEYCIQDXyuIY7x1MqCuUree4dcklBB50ozXdwuLbj2MtylXUBAIhALJlxyo1O0d/LAFRxJYBosdeTYft/fq2quOwckYmPXW+"},"payload":{"pageNo":1,"pageSize":10,"endToEndIdentification":"R1703771274796","companyId":"6489704aa58b38e2d4407868","paymentMode":"API"}}}'

Body


{
"id": "1",
"method": "VisaService.GetApproveTransactions",
"params": {
"api": {
"credential": "Basic cy5wYXJhbWVzd2FyYW4rMkBiYW5rY2J3Lm9yZzpUZXN0QDEyMzQ=",
"signature": "MEYCIQDXyuIY7x1MqCuUree4dcklBB50ozXdwuLbj2MtylXUBAIhALJlxyo1O0d/LAFRxJYBosdeTYft/fq2quOwckYmPXW+"
},
"payload": {
"pageNo": 1,
"pageSize": 10,
"endToEndIdentification": "R1703771274796",
"companyId": "6489704aa58b38e2d4407868",
"paymentMode": "API"
}
}
}

Response: 201

Response Parameters
ParameterDescription

jsonrpc

String

JSON RPC VERSION

Example – "2.0"

result

Object

totalElements

Number

Number of elements in list

Example – "1"

transactions

Array

id

String

Unique ID of transaction

Example – "65c0b8fec5ff5b64aa29457b"

postingDate

String

Transaction initiated date and time

Example – "2024-02-05T10:31:26.852Z"

status

String

Status of transaction

Example – "WAITING_FOR_APPROVAL"

referenceNumber

String

Reference number of transaction

Example – "QA00000001419001"

debtorAgentBid

Number

Bank ID of debitor bank or financial institution

Example – "12345678"

debtorAgentBic

String

Bank Identifier Code of debitor bank or financial institution

Example – "PNCBAT40"

debtorAccountNumber

String

Account number of debitor

Example – "200071725670365"

debtorName

String

Name of the debitor

Example – "abs"

creditorAgentBid

String

Unique idendifier of beneficiary bank or financial institution

Example – "123456"

creditorAgentBic

String

BIC of creditor transaction

Example – "PNCBBE40"

creditorIBAN

String

Bank account number of creditor to which the transaction is directed

Example – "BE34124134234"

creditorName

String

Name of the creditor

Example – "Belgium"

instructedCurrency

String

Currency of transaction

Example – "EUR"

instructedAmount

Number

Amount of transaction

Example – 100

structuredRemittance

Null

Structured remittance information related to payment

Example – null

customerOrgName

String

Customer organisation name that initiated transacion

Example – "abs"

bankName

String

Name of the beneficiary bank

Example – "XYZ"

riskScore

String

Level of risk associated with the transaction

Example – "Disabled"

paymentMode

String

Mode of transaction

Example – "API"

nameScreening

Object

watchListStatus

String

Status of watchlist

Example – "Disabled"

validatePayment

Object

validateStatus

String

Status of transaction validation

Example – "FAILED"

id

String

Unique ID of request

Example – "1"


{
"jsonrpc": "2.0",
"result": {
"totalElements": 1,
"transactions": [
{
"id": "65c0b8fec5ff5b64aa29457b",
"postingDate": "2024-02-05T10:31:26.852Z",
"status": "WAITING_FOR_APPROVAL",
"referenceNumber": "QA00000001419001",
"debtorAgentBid": 12345678,
"debtorAgentBic": "PNCBAT40",
"debtorAccountNumber": "200071725670365",
"debtorName": "abs",
"creditorAgentBid": 123456,
"creditorAgentBic": "PNCBBE40",
"creditorIBAN": "BE34124134234",
"creditorName": "Belgium",
"instructedCurrency": "EUR",
"instructedAmount": 100,
"structuredRemittance": null,
"customerOrgName": "abs",
"bankName": "XYZ",
"riskScore": "Disabled",
"paymentMode": "API",
"nameScreening": {
"watchListStatus": "Disabled"
},
"validatePayment": {
"validateStatus": "FAILED"
}
}
]
},
"id": "1"
}